﻿using System;

namespace enyo
{
    [NonScript]
    public class ShowHideMode
    {
        public static implicit operator ShowHideMode(string str)
        {
            return null;
        }

        private ShowHideMode() { }

        /// <summary>
        /// when open and close are called, the popup will be shown and hidden
        /// </summary>
        [EvalAtCompile]
        public const string Auto = "auto";

        /// <summary>
        /// will not be shown or hidden; use this mode when controlling popup via custom animation
        /// </summary>
        [EvalAtCompile]
        public const string Manual = "manual";

        /// <summary>
        /// will be shown when opened and hidden when a css transition completes; 
        /// use this mode when animating via css transitions.
        /// </summary>
        [EvalAtCompile]
        public const string Transition = "transition";
    }
}
